package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.model.search.AlbumInfoIndex;
import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.album.TrackStatMqVo;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexSearchVo;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;

import java.io.IOException;
import java.util.List;
import java.util.concurrent.ExecutionException;

public interface SearchService {


  abstract  void lowerAlbum(Long albumId);
    public  abstract   void upperAlbum(Long albumId) ;


    public  abstract AlbumSearchResponseVo search(AlbumIndexQuery albumIndexQuery) throws IOException;

    List<AlbumInfoIndexSearchVo> channel(Long category1Id) throws IOException;

    List<String> completeSuggest(String keyword);

    void updateLatelyAlbumRanking();

 List<AlbumInfoIndex> findRankingList(Long category1Id, String dimension);

    void albumStatUpdate(TrackStatMqVo trackStatMqVo);
}
